﻿// ======================================================================
//
//          Copyright (C) 2018-2068 湖南心莱信息科技有限公司
//          All rights reserved
//
//          filename : FromEventTypes.cs
//          description :
//
//          created by codelove1314@live.cn at  2021-02-09 10:48:26
//          Blog：http://www.cnblogs.com/codelove/
//          GitHub ： https://github.com/xin-lai
//          Home：http://xin-lai.com
//
// =======================================================================

namespace XUCore.WeChat.Net.ServerMessages.From
{
    using System.Xml.Serialization;

    /// <summary>
    ///     事件类型
    /// </summary>
    public enum FromEventTypes
    {
        /// <summary>
        ///     关注
        /// </summary>
        [XmlEnum(Name = "subscribe")]
        subscribe = 0,

        /// <summary>
        ///     取消关注
        /// </summary>
        [XmlEnum(Name = "unsubscribe")]
        unsubscribe = 1,

        /// <summary>
        ///     扫描带参数二维码
        /// </summary>
        [XmlEnum(Name = "scan")]
        scan = 2,

        /// <summary>
        ///     上报地理位置
        /// </summary>
        [XmlEnum(Name = "location")]
        location = 3,

        /// <summary>
        ///     点击菜单拉取消息时的事件推送
        /// </summary>
        [XmlEnum(Name = "click")]
        click = 4,

        /// <summary>
        ///     点击菜单跳转链接时的事件推送
        /// </summary>
        [XmlEnum(Name = "view")]
        view = 5,

        /// <summary>
        /// 模板消息发送完成
        /// </summary>
        [XmlEnum(Name = "templatesendjobfinish")]
        templatesendjobfinish = 6,

        /// <summary>
        ///     点击菜单跳转小程序的事件推送
        /// </summary>
        [XmlEnum(Name = "view_miniprogram")]
        view_miniprogram = 7,

        /// <summary>
        ///     【企业微信】进入应用，本事件在成员进入企业微信的应用时触发
        /// </summary>
        [XmlEnum(Name = "enter_agent")]
        enter_agent = 8,

        /// <summary>
        ///     【企业微信】异步任务完成事件推送，本事件是成员在使用异步任务接口时，用于接收任务执行完毕的结果通知。
        /// </summary>
        [XmlEnum(Name = "batch_job_result")]
        batch_job_result = 9,

        /// <summary>
        ///     【企业微信】企业客户事件
        /// </summary>
        [XmlEnum(Name = "change_external_contact")]
        change_external_contact = 10,

        /// <summary>
        ///     【企业微信】客户群事件
        /// </summary>
        [XmlEnum(Name = "change_external_chat")]
        change_external_chat = 11,

        /// <summary>
        ///     【企业微信】企业客户标签事件
        /// </summary>
        [XmlEnum(Name = "change_external_tag")]
        change_external_tag = 12,

        /// <summary>
        ///     【企业微信】获客助手事件
        /// </summary>
        [XmlEnum(Name = "customer_acquisition")]
        customer_acquisition = 13,

        /// <summary>
        ///     【企业微信】扫码推事件的事件推送
        /// </summary>
        [XmlEnum(Name = "scancode_push")]
        scancode_push = 14,

        /// <summary>
        ///     【企业微信】扫码推事件且弹出“消息接收中”提示框的事件推送
        /// </summary>
        [XmlEnum(Name = "scancode_waitmsg")]
        scancode_waitmsg = 15,

        /// <summary>
        ///     【企业微信】删除成员事件
        /// </summary>
        [XmlEnum(Name = "change_contact")]
        change_contact = 16
    }
}